#include <stdlib.h>

#include "RandomSensor.h"
RandomSensor::RandomSensor(char *name) : GenericSensor(name){

}

void RandomSensor::Init(void *v){

  //srand(time(NULL));

}

float RandomSensor::ReadSensor(){

  return (float)rand();

}

extern "C" RandomSensor *Create(){
  return new RandomSensor((char *)"Random Sensor");
}
